package cash_access;

public abstract class Account {
	/**
	 * 
	 * @param amount which will be deposit on the account
	 */
	public abstract void deposit(double amount);  
	/**
	 * 
	 * @param amount which will be withdraw from the account
	 * @throws OverdraftException, if a negative amount would be calculated
	 */
	public abstract void withdraw(double amount) throws OverdraftException;
	/**
	 * 
	 * @return the actual amount on the account
	 */
	public abstract double getBalance();
}
	